package model;

public abstract class Event {
	
	private final double time;
	
	public Event(double time) {
		super();
		this.time = time;
	}

	public abstract void perform();

	public double getTime() {
		return time;
	}

	@Override
	public String toString() {
		return getName() + "(" + time + ")";
	}
	
	public abstract String getName();
	
}
